﻿using System;

namespace dz.u9.jky.schema.Common
{
    public class DzEffective
    {
        /// <summary>
        /// 是否生效
        /// </summary>
        public bool IsEffective { get; set; } = true;

        ///// <summary>
        ///// 生效日期
        ///// </summary>
        //public DateTime EffectiveDate { get; set; } = DateTime.Now;

        ///// <summary>
        ///// 失效日期
        ///// </summary>
        //public DateTime DisableDate { get; set; } = DateTime.MaxValue;

        /// <summary>
        /// 生效日期
        /// </summary>
        public DateTime? EffectiveDate { get; set; }

        /// <summary>
        /// 失效日期
        /// </summary>
        public DateTime? DisableDate { get; set; }
    }
}
